package com.example.book.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 凡哥哥
 * @since 2023-11-06
 */
@Getter
@Setter
@ApiModel(value = "推荐图书实体类", description = "")
public class Recommend implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("图书名称")
    private String name;
    /**
     * "图片"
     */
    @ApiModelProperty("图片")
    private String image;
    /**
     * 图书id
     */
    @ApiModelProperty("图书id")
    private Long bookId;
}
